package com.s_widget;

import android.content.Context;
import android.util.AttributeSet;

import androidx.annotation.Nullable;

import com.s7.widget.widget.WheelPicker;
import com.s_widget.bean.PickerBean;

import java.text.Format;

public class StringWheelPicker extends WheelPicker<PickerBean> {

    public StringWheelPicker(Context context) {
        super(context);
    }

    public StringWheelPicker(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public String getData(PickerBean data) {
        return data.getName();
    }
}
